+opencc (0.4.0-1) experimental; urgency=low
+
+ * New upstream release
+ * fix-new-test-cases.patch in upstream
+ * part of more_clear_man_c_option.patch is in upstream
+ the rest is in install-data-file-to-meet-need-of-multi-arch.path
+
+ -- Asias He <asias@debian.org> Fri, 05 Apr 2013 10:52:29 +0800
+
opencc (0.3.0-3) unstable; urgency=low
* Rebuild to
Source: opencc
Priority: optional
Maintainer: IME Packaging Team <pkg-ime-devel@lists.alioth.debian.org>
-Uploaders: LI Daobing <lidaobing@debian.org>, Asias He <asias.hejun@gmail.com>,
+Uploaders: LI Daobing <lidaobing@debian.org>, Asias He <asias@debian.org>,
YunQiang Su <wzssyqa@gmail.com>
Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1.1~), cmake
Standards-Version: 3.9.3
+++ /dev/null
-Description: Fix new test cases, install data file to meet need of multi-arch
- Copy nedded dict files to ${PROJECT_BINARY_DIR}/data for tests.
- Install data files to ${DIR_LIBRARY} instead of ${DIR_SHARE}
-Author: Kan-Ru Chen <koster@debian.org>, YunQiang Su <wzssyqa@gmail.com>
-
-Index: opencc/data/CMakeLists.txt
-===================================================================
---- opencc.orig/data/CMakeLists.txt 2012-03-29 01:56:20.043932047 +0800
-+++ opencc/data/CMakeLists.txt 2012-03-29 03:16:12.183694991 +0800
-@@ -92,4 +92,10 @@
- ${CHINA_DICT_FILES}
- DESTINATION
- ${DIR_SHARE_OPENCC}
--)
-\ No newline at end of file
-+)
-+
-+if (BUILD_TESTING)
-+ foreach (DICT ${TAIWAN_DICT_FILES} ${CHINA_DICT_FILES})
-+ configure_file(${DICT} ${PROJECT_BINARY_DIR}/data COPYONLY)
-+ endforeach (DICT)
-+endif (BUILD_TESTING)
-Index: opencc/CMakeLists.txt
-===================================================================
---- opencc.orig/CMakeLists.txt 2012-03-29 01:56:20.043932047 +0800
-+++ opencc/CMakeLists.txt 2012-03-29 03:16:34.919807728 +0800
-@@ -20,6 +20,7 @@
- cmake_minimum_required(VERSION 2.8)
- set (PACKAGE_NAME opencc)
- project (${PACKAGE_NAME} C)
-+include (CTest)
- enable_testing()
-
- ######## Package information
-@@ -86,7 +87,7 @@
- set (DIR_ETC ${SYSCONF_INSTALL_DIR})
- endif (DEFINED SYSCONF_INSTALL_DIR)
-
--set (DIR_SHARE_OPENCC ${DIR_SHARE}/opencc)
-+set (DIR_SHARE_OPENCC ${DIR_LIBRARY}/opencc)
- set (DIR_SHARE_LOCALE ${DIR_SHARE}/locale)
-
- ######## Configuration
--- /dev/null
+Description: install data file to meet the need of multi-arch
+ Install data files to ${DIR_LIBRARY} instead of ${DIR_SHARE}
+Author: Asias He <asias@debian.org>
+---
+--- opencc-0.4.0.orig/CMakeLists.txt
++++ opencc-0.4.0/CMakeLists.txt
+@@ -95,7 +95,7 @@ if (DEFINED SYSCONF_INSTALL_DIR)
+ set (DIR_ETC ${SYSCONF_INSTALL_DIR})
+ endif (DEFINED SYSCONF_INSTALL_DIR)
+
+-set (DIR_SHARE_OPENCC ${DIR_SHARE}/opencc)
++set (DIR_SHARE_OPENCC ${DIR_LIBRARY}/opencc)
+ set (DIR_SHARE_LOCALE ${DIR_SHARE}/locale)
+
+ ######## Configuration
+++ /dev/null
-Description: Clear the path of config_file /usr/bin/opencc
- Give out the path of config_file: /usr/lib/${DEB_HOST_MULTIARCH}/opencc/*.ini
-Author: Kan-Ru Chen <koster@debian.org>, YunQiang Su <wzssyqa@gmail.com>
-
-Index: opencc/doc/opencc.1
-===================================================================
---- opencc.orig/doc/opencc.1 2012-03-29 04:35:59.000000000 +0800
-+++ opencc/doc/opencc.1 2012-03-29 04:38:50.720283041 +0800
-@@ -16,6 +16,11 @@
- \fB\-c\fR
- Load dictionary configuration from config_file.
- .IP
-+Package libopencc1 has some configuration file preset: /usr/lib/${DEB_HOST_MULTIARCH}/opencc/*.ini;
-+the ${DEB_HOST_MULTIARCH} is something like "x86_64-linux-gnu" (AMD64)
-+or "i386-linux-gnu" (i386), or something else;
-+you can get it by `dpkg-architecture \-qDEB_HOST_MULTIARCH`.
-+.IP
- Note:
- .IP
- Text from standard input will be read if input_file is not set and will be written to standard output if output_file is not set.
-
-more_clear_man_c_option.patch
-fix-new-test-cases.patch
+install-data-file-to-meet-need-of-multi-arch